
import { getParkInfoAPI } from '@/apis/park';
import { ref } from 'vue'
// 获取园区概况
export const useParkInfo = ()=>{
    //声明响应式数据
    const parkInfo = ref({})
    // 获取园区概况
const getParkInfo = async() =>{
    const res = await getParkInfoAPI()
    // console.log(res);
    parkInfo.value = res.data
    }
    return{
        parkInfo,
        getParkInfo
    }
}